package com.wangmengtao.upms.model;

import java.io.Serializable;
import java.util.Date;

/**
 * @ClassName: BaseEntity
 * @Description: BaseEntity
 * @Author: WangMengtao
 * @Date: 2019/6/24 15:35
 * @version: 1.0
 **/
public abstract class BaseEntity<ID extends Serializable> implements Serializable {

    private static final long serialVersionUID = 5711316516683147768L;
    /** ID */
    private ID id;
    /** 创建时间 */
    private Date gmtCreate;
    /** 更新时间 */
    private Date gmtModified;

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public ID getId() {
        return id;
    }

    public void setId(ID id) {
        this.id = id;
    }

    public Date getGmtCreate() {
        return gmtCreate;
    }

    public void setGmtCreate(Date gmtCreate) {
        this.gmtCreate = gmtCreate;
    }

    public Date getGmtModified() {
        return gmtModified;
    }

    public void setGmtModified(Date gmtModified) {
        this.gmtModified = gmtModified;
    }
}
